<template>
  <div id="app">
    <indexHeader></indexHeader>
    <router-view/>
  </div>
</template>

<script>
import indexHeader from '@/components/indexHeader'
export default {
  name: 'App',
  components:{indexHeader},
  created(){
    var type = window.localStorage.getItem('theme');
    if(type == 'white'){
      this.$utils.theme('white');
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff
}
</style>
